package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班级对象 ds_clas
 *
 * @author tyro
 * @date 2025-03-30
 */
public class DsClas extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 班级id */
    private Long clasId;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String clasName;

    /** 专业id */
    @Excel(name = "专业id")
    private Long majorId;

    /** 学院ID */
    private Integer collegeId;

    // getter和setter方法
    public Integer getCollegeId() {
        return collegeId;
    }

    public void setCollegeId(Integer collegeId) {
        this.collegeId = collegeId;
    }
    public void setClasId(Long clasId)
    {
        this.clasId = clasId;
    }

    public Long getClasId()
    {
        return clasId;
    }
    public void setClasName(String clasName)
    {
        this.clasName = clasName;
    }

    public String getClasName()
    {
        return clasName;
    }
    public void setMajorId(Long majorId)
    {
        this.majorId = majorId;
    }

    public Long getMajorId()
    {
        return majorId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("clasId", getClasId())
            .append("collegeId", getCollegeId())
            .append("clasName", getClasName())
            .append("majorId", getMajorId())
            .toString();
    }
}
